package com.hxzy.childMeasure;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.text.Layout;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;

import com.hxzy.login.R;

import java.util.zip.Inflater;

/**
 * Created by user on 2016/9/22.
 */

public class leftButton extends Fragment {

    View leftbutton;
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        leftbutton = inflater.inflate(R.layout.wonder_monment,null);
        return leftbutton;
    }

    @Override
    public void onActivityCreated(@Nullable Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
        if (leftbutton == null) return;
        ListView lv = (ListView) leftbutton.findViewById(R.id.wonder_moment_lv);
        lv.setAdapter(new WonderAdapter());

    }
}
